import { myAxios } from '@apis/http';

export const getProductRelatedApi = (params: any) => {
  return myAxios({
    method: 'get',
    url: `/apis/serviceConfig/list/filer`,
    params,
  });
};
export const getProductRelatedAddApi = (data: any) => {
  return myAxios({
    method: 'post',
    url: `/apis/serviceConfig/add/filter/product`,
    data,
  });
};
//获取当前用户的权限
export const getCurUserDetailAPI = (params: any = {}) => {
  return myAxios({
    method: 'get',
    url: `/api/management/operate-role/getCurUserDetail`,
    params,
  });
};
